package simpledb.storage;

public class Table {

    private DbFile dbFile;
    private TupleDesc tupleDesc;

    private String primaryKey;

    public Table() {
    }

    public Table(DbFile dbFile, TupleDesc tupleDesc, String primaryKey) {
        this.dbFile = dbFile;
        this.tupleDesc = tupleDesc;
        this.primaryKey = primaryKey;
    }

    public DbFile getDbFile() {
        return dbFile;
    }

    public void setDbFile(DbFile dbFile) {
        this.dbFile = dbFile;
    }

    public TupleDesc getTupleDesc() {
        return tupleDesc;
    }

    public void setTupleDesc(TupleDesc tupleDesc) {
        this.tupleDesc = tupleDesc;
    }

    public String getPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(String primaryKey) {
        this.primaryKey = primaryKey;
    }
}
